package com.ee.chat.common.serconfig;

import com.ndhutu.ee.util.netease.App;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class MyNeteaseApp implements App {
    @Value("${netease.im.idPrefix}")
    String idPrefix;

    @Value("${netease.im.appKey}")
    String appKey;

    @Value("${netease.im.appSecret}")
    String appSecret;

    @Override
    public String getIdPrefix() {
        return idPrefix;
    }

    @Override
    public String getAppKey() {
        return appKey;
    }

    @Override
    public String getAppSecret() {
        return appSecret;
    }

}
